
#include <ros/ros.h>
#include "gstcamera/gstcamera.h"

int main(int argc, char** argv)
{
    ros::init(argc, argv, "gstcamera_puber");

    ros::NodeHandle nh, nh_private("~");
    gstcamera::Gstcamera gstcam_driver(nh,nh_private);  //创建一个Gstcamera对象
    gstcam_driver.run();

    return 0;
}